Section 2.2.1.8
Adding a Code Question
In the following scenario, the test-maker creates a Code question.
Figure 2.2.1.8.1 illustrates a partially filled Code question (see Adding a Question section for more information). The test-maker has chosen to create a Code type question.
Figure 2.2.1.8.1: Adding a Coding Question
The Question box is where the test-maker writes the question.
The Code question type has the section Script to Run.
The Language pull-down menu allows the test-maker to select what programming language is to be used for this Code question.
The Script text box is where the test-maker can write or paste the script to be used to grade test-takers’ answers.
After pressing the Submit button, the program verifies all the necessary information is written down. If it passes, the test-maker has created their question! Figure 2.2.1.8.2 illustrates what a Code question might look like in the end.
Figure 2.2.1.8.2: Filled in Code question form
Figure 2.2.1.8.3 illustrates what the Question Bank will look like after the Code question has been created, following previous scenarios.
Figure 2.2.1.8.3: Updated Question Bank with Code question
The user proceeds to add more Code questions. Figure 2.2.1.8.4 shows what the Question Bank looks like after adding the rest of the Code questions.
Figure 2.2.1.8.4: Updated Question Bank with more Code questions